Api.SetConfiguredAxesCount method
Configures a number of simulated axes. The number of simulated axes is determined by how much the given value outnumbers the real hardware. If the given number is greater than the number of the real axes, KINGSTAR will display all real axes plus simulated ones. For example, if you have five real axes and you give the number seven, you'll get five real axes plus two simulated axes. If the given number is less than or equal to the number of the real axes, KINGSTAR will display all real axes without simulated ones.
Namespace: IntervalZero.KINGSTAR.OpcUa.Api
Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0
Syntax
public KsError SetConfiguredAxesCount(
int Count
)
Public Function SetConfiguredAxesCount(
Count As Integer
) As KsError
Parameters
Count
Type: int
The number of simulated axes. The maximum is 256.
Return value
Type: KsError
A return code of a method.
Remarks
Allows a developer to test applications without having all the hardware available. Simulated axes must be created using SetConfiguredAxesCount before they are configured with ConfigureAxis. This function must be called after Create and before Start. Once the link is established the simulated axes cannot be modified.
Usable EtherCAT states
ecatOffline
Examples
N/A
See also